<%@ page language="java" import="java.util.*,ms.platform.system.model.*"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<title>材料库存新增</title>
<base href="<%=basePath%>">

<!-- 引用新样式 start -->
<jsp:include page="../../jsp/public.jsp" flush="true"/>
<!-- end -->
<style type="text/css">
#meterTabInfoList td{border:1px solid !important;border-collapse:collapse !important;}
</style>
<script type="text/javascript" src="<%=basePath%>js/meter/addMeter.js"></script>
</head>
<body>
	<div class="col-lg-12">
                <div class="index-nav-right">
                    <div class="index-nav-right-header"><span>当前位置 > 材料入库</span></div>
                </div>

                <div class="add-one-right">
                  
                        <div class="row">
                             <div class="addInfo-one" id="departmentId" style="padding-top: 0px;height: 420px;">
                        <div class="row add-one-form-rowHeight">
                            <div class="form-group col-lg-5 col-lg-offset-1">
                                <label class="col-lg-3 control-label add-one-form-label">部品番号<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" id="modelCode" value="${modelCode }">
                                </div>
                            </div>
                            <div class="form-group col-lg-5">
                                <label class="col-lg-3 control-label add-one-form-label">用途<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <select class=" form-control input-sm"
												name="useFor" id="useFor">
													<option value="取样">取样</option>
													<option value="调试">调试</option>
											</select>
                                </div>
                            </div>
                        </div>
                        <div class="row add-one-form-rowHeight">
                            <div class="form-group col-lg-5 col-lg-offset-1">
                                <label class="col-lg-3 control-label add-one-form-label">送长<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="grow" id="grow" value="">
                                </div>
                            </div>
                            <div class="form-group col-lg-5">
                                <label class="col-lg-3 control-label add-one-form-label">宽幅<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="wide" id = "wide" value="">
                                </div>
                            </div>
                        </div>
                        <div class="row add-one-form-rowHeight">
                            <div class="form-group col-lg-5 col-lg-offset-1">
                                <label class="col-lg-3 control-label add-one-form-label">板厚<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="tall" id="tall" value="">
                                </div>
                            </div>
                            <div class="form-group col-lg-5">
                                <label class="col-lg-3 control-label add-one-form-label">入库数量<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="inventory" id = "inventory" value="">
                                </div>
                            </div>
                        </div>
                        <div class="row add-one-form-rowHeight">
                            <div class="form-group col-lg-5 col-lg-offset-1">
                                <label class="col-lg-3 control-label add-one-form-label">每枚可取数<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="perNum" id="perNum" value ="">
                                </div>
                            </div>
                            <div class="form-group col-lg-5">
                                <label class="col-lg-3 control-label add-one-form-label">可取台数<span class = "font-red">*</span>:</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="planAmount" id = "planAmount" value ="">
                                </div>
                            </div>
                        </div>
                        <div class="add-one-form-rowHeight add-one-form-button">
                                <div class="">
                                    <button type="button" class="btn navbar-default"  onClick = "continueToAdd()">保存</button>
                                </div>
                                <div class="">
                                    <button type="button" class="btn navbar-default" onClick = "continueToAddMore()">继续添加材料</button>
                                </div>
                                <div class="">
                                    <button id="addTable" type="button" class="btn navbar-default" onClick="getTableValue()">提交</button>
                                </div>
                            </div>
                    </div>
                            <div class="row" id = "meterInfoList"  hidden = "true">
                                <div class="row addInfo-two-table">
                                    <table class="table table-striped" id= "meterTabInfoList" style = "width:1000px;">
                                        <thead>
                                        <tr class="table-thead">
                                            <th>部品番号</th>
                                            <th>用途</th>
                                            <th>送长</th>
                                            <th>宽幅</th>
                                            <th>板厚</th>
                                            <th>每枚可取数</th>
                                            <th>可取台数</th>
                                            <th>入库数量</th>
                                            <th>操作</th>
                                        </tr>
                                        </thead>
                                        <tbody>
                                        
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--表单信息输入第三步E-->
                    <!--表单信息输入-->

                </div>
</body>
</html>